Skip to content

Implementation Plan: Keep _EXEMPT_FILES Accurate and Self-Documenting After P3 Migration#3990

Merged
Trecek merged 1 commit into
developfrom
t4-p3-a13-wp1-keep-exempt-files-accurate-and-self-documentin/3933
Jun 10, 2026
Merged

Implementation Plan: Keep _EXEMPT_FILES Accurate and Self-Documenting After P3 Migration#3990
Trecek merged 1 commit into
developfrom
t4-p3-a13-wp1-keep-exempt-files-accurate-and-self-documentin/3933

Conversation

@Trecek

@Trecek Trecek commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

Remove 3 stale entries from _EXEMPT_FILES in test_no_backend_name_bypass.py and add self-documenting inline comments to the remaining 6 entries explaining why each structural backend-name comparison is unavoidable.

The 3 entries to remove (execution/backends/__init__.py, cli/_marketplace.py, recipe/rules/rules_backend_compat.py) have zero AST Compare violations — the exemptions were either always technically incorrect (dict-key lookup, not a Compare node) or became stale after P3 migration refactored comparisons to capability checks.

The 6 remaining entries each have genuine ast.Compare nodes referencing backend-name literals or constants, and each has a documented reason why the comparison cannot be replaced with a BackendCapabilities field.

Implementation Plan

Plan file: /home/talon/projects/autoskillit-runs/impl-20260610-112706-148380/.autoskillit/temp/make-plan/keep_exempt_files_accurate_plan_2026-06-10_113600.md

Closes #3933

🤖 Generated with Claude Code via AutoSkillit

Token Usage Summary

Step Model count uncached output cache_read peak_ctx turns cache_write time
plan* opus[1m] 1 898 5.9k 646.5k 70.6k 32 51.6k 4m 36s
verify* sonnet 1 60 9.5k 269.5k 52.5k 22 31.6k 3m 49s
implement* MiniMax-M3 1 774.7k 3.3k 0 0 34 0 7m 4s
audit_impl* sonnet 1 52 3.6k 201.3k 39.1k 12 21.1k 2m 3s
prepare_pr* MiniMax-M3 1 228.1k 1.9k 0 0 16 0 45s
compose_pr* MiniMax-M3 1 177.3k 1.9k 0 0 11 0 44s
review_pr* sonnet 1 100 13.6k 550.2k 58.5k 33 38.2k 3m 43s
resolve_review* sonnet 1 147 7.2k 973.1k 70.2k 43 49.7k 5m 0s
Total 1.2M 46.9k 2.6M 70.6k 192.1k 27m 45s

* Step used a non-Anthropic provider; caching behavior may differ.

Token Efficiency

Step LoC Changed cache_read/LoC cache_write/LoC output/LoC
plan 0
verify 0
implement 21 0.0 0.0 155.1
audit_impl 0
prepare_pr 0
compose_pr 0
review_pr 0
resolve_review 0
Total 21 125740.9 9147.6 2231.7

Model Usage Breakdown

Model steps uncached output cache_read cache_write time
opus[1m] 1 898 5.9k 646.5k 51.6k 4m 36s
sonnet 4 359 33.9k 2.0M 140.5k 14m 35s
MiniMax-M3 3 1.2M 7.0k 0 0 8m 33s

Remove 3 stale entries that have zero AST Compare violations:
- execution/backends/__init__.py: dict-key lookup, not a Compare node
- cli/_marketplace.py: migrated to capability check
- recipe/rules/rules_backend_compat.py: runtime var, not literal

Add self-documenting inline comments to the 6 remaining entries
explaining why each structural backend-name comparison is unavoidable.
@Trecek Trecek added this pull request to the merge queue Jun 10, 2026
Merged via the queue into develop with commit 4b77187 Jun 10, 2026
3 checks passed
@Trecek Trecek deleted the t4-p3-a13-wp1-keep-exempt-files-accurate-and-self-documentin/3933 branch June 10, 2026 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant